<template>
    <div class="app">
        <h2>{{msg}}</h2>
        <School/>
        <Student/>
    </div>
</template>

<script>
//引入School组件
import School from './components/School.vue'
import Student from './components/Student.vue'

export default {
    name: 'App',
    components: {
        Student,
        School,
    },
    data() {
        return {
            msg: '大标题',
        }
    },
    methods: {
        
    },
}
</script>

<style>
    .app {
        background-color: gray;
        padding: 5px;
    }
</style>